package com.tuomaxu.core;

import java.util.List;

public interface SqlSession {

    public <E> List<E> selectList(String statementid,Object... params) throws Exception;
    public <T> T selectOne(String statementid,Object... params) throws Exception;

    public void insert(String statementid,Object... params) throws Exception;
    public void update(String statementid,Object... params) throws Exception;
    public void delete(String statementid,Object... params) throws Exception;

    public <T> T getMapper(Class<?> mapperClass);
}
